package com.wjc.train.member.mapper;

import com.wjc.train.member.entity.Ticket;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wjc.train.member.req.TicketQueryReq;
import com.wjc.train.member.resp.TicketQueryResp;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 会员车票 Mapper 接口
 * </p>
 *
 * @author Guessed
 * @since 2023-08-22
 */
public interface TicketMapper extends BaseMapper<Ticket> {

  IPage<TicketQueryResp> queryList(@Param("page") IPage<TicketQueryResp> page,
                                       @Param("ticketQueryReq") TicketQueryReq ticketQueryReq);
}
